package com.hhf.riceshopping.order.feign;

import com.hhf.riceshopping.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("riceshopping-cart")
public interface CartFeignService {

    //获取到当前登陆的用户的所有购物项数据
    @GetMapping("/currentUserCartItems")
     List<OrderItemVo> getCurrentUserCartItems();
}
